package com.menggudf.service;

import java.util.Map;

import com.menggudf.model.ResultModel;

public interface PartService {

    Map<String, Object> queryAllPartGroups();
    
    ResultModel addPart(String onePart, String twoPart, Integer oneNum, Integer twoNum);

    ResultModel eidtPart(Integer id, String onePart, String twoPart, Integer oneNum, Integer twoNum);

    ResultModel deletePart(Integer id);

    Map<String, Object> queryAllPartGroups(String onePart, String twoPart, int pageSize, int offset);

}
